package com.healthdata.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import org.springframework.data.annotation.Id;

@Entity
@Table(name = "hospital_by_bed_size")
public class HospitalBedSize {
    @jakarta.persistence.Id
    @Id
    private Integer id;

    @Column(name = "name")
    private String name;

    @Column(name = "beds_0_49")
    private Integer beds0To49;

    @Column(name = "beds_50_99")
    private Integer beds50To99;

    @Column(name = "beds_100_199")
    private Integer beds100To199;

    @Column(name = "beds_200_299")
    private Integer beds200To299;

    @Column(name = "beds_300_399")
    private Integer beds300To399;

    @Column(name = "beds_400_499")
    private Integer beds400To499;

    @Column(name = "beds_500_799")
    private Integer beds500To799;

    @Column(name = "beds_800_999")
    private Integer beds800To999;

    @Column(name = "beds_1000")
    private Integer beds1000;

    @Column(name = "year")
    private Integer year;

    // 构造函数、getter和setter方法
    public HospitalBedSize() {
    }

    public Integer getBeds0To49() {
        return beds0To49;
    }

    public void setBeds0To49(Integer beds0To49) {
        this.beds0To49 = beds0To49;
    }

    public Integer getBeds50To99() {
        return beds50To99;
    }

    public void setBeds50To99(Integer beds50To99) {
        this.beds50To99 = beds50To99;
    }

    public Integer getBeds100To199() {
        return beds100To199;
    }

    public void setBeds100To199(Integer beds100To199) {
        this.beds100To199 = beds100To199;
    }

    public Integer getBeds200To299() {
        return beds200To299;
    }

    public void setBeds200To299(Integer beds200To299) {
        this.beds200To299 = beds200To299;
    }

    public Integer getBeds300To399() {
        return beds300To399;
    }

    public void setBeds300To399(Integer beds300To399) {
        this.beds300To399 = beds300To399;
    }

    public Integer getBeds400To499() {
        return beds400To499;
    }

    public void setBeds400To499(Integer beds400To499) {
        this.beds400To499 = beds400To499;
    }

    public Integer getBeds500To799() {
        return beds500To799;
    }

    public void setBeds500To799(Integer beds500To799) {
        this.beds500To799 = beds500To799;
    }

    public Integer getBeds800To999() {
        return beds800To999;
    }

    public void setBeds800To999(Integer beds800To999) {
        this.beds800To999 = beds800To999;
    }

    public Integer getBeds1000() {
        return beds1000;
    }

    public void setBeds1000(Integer beds1000) {
        this.beds1000 = beds1000;
    }

    // 这里只展示部分，实际需要为所有字段生成getter和setter
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    // 其他getter和setter...
}